package org.noworks.game.engine;

import org.newdawn.slick.GameContainer;
import org.newdawn.slick.Graphics;
import org.newdawn.slick.state.StateBasedGame;

/**
 * RenderComponent that adds render functionality to the Component class. Used
 * for the actual rendering of Entities.
 * 
 * @author Michael Nowak
 * 
 */
public abstract class RenderComponent extends Component {

	public RenderComponent(String id) {
		this.id = id;
	}

	public abstract void render(GameContainer gc, StateBasedGame sbg, Graphics g);
	
	public abstract int getHeight();
	
	public abstract int getWidth();

}
